package thinking.java.initalization.and.clean.up.example;

/**
 * @author GaoFeng
 * @date 2019/12/31 19:19
 */
public class Ex_5_3_4_OverrideConstructClass {

    public static void main(String[] args) {
        // 使用有参构造器重载
        Ex_5_3_4_OverrideConstructClass overrideConstructClass = new Ex_5_3_4_OverrideConstructClass("GaoFeng");
    }


    public Ex_5_3_4_OverrideConstructClass() {

    }

    public Ex_5_3_4_OverrideConstructClass(String param) {
        System.out.println("This is a HasArgsConstruct, that override default construct, The param is " + param);
    }


}
